package com.xhh.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xhh.model.common.dtos.ResponseResult;
import com.xhh.model.user.pojos.Educator;
import com.xhh.model.user.pojos.Student;
import org.springframework.web.bind.annotation.PathVariable;

public interface StudentService extends IService<Student> {

    /**
     * 根据准考证号获取学生信息
     * @param studentCode
     * @return
     */
    ResponseResult getStuByCode(String studentCode);

    /**
     * 根据学生id获取学生信息
     * @param studentId
     * @return
     */
    ResponseResult getStuById(Long studentId);

    /**
     * 根据用户id获取学生信息
     * @param userId
     * @return
     */
    ResponseResult getStuByUId(Long userId);
}
